package com.rzl.expense.expense.mapper;

import java.util.List;
import com.rzl.expense.expense.domain.RentBillamountdetail;
import org.apache.ibatis.annotations.Param;

/**
 * 房租缴费汇总明细Mapper接口
 * 
 * @author expense
 * @date 2025-03-11
 */
public interface RentBillamountdetailMapper 
{
    /**
     * 查询房租缴费汇总明细
     * 
     * @param billamountdetailId 房租缴费汇总明细主键
     * @return 房租缴费汇总明细
     */
    public RentBillamountdetail selectRentBillamountdetailByBillamountdetailId(String billamountdetailId);

    /**
     * 查询房租缴费汇总明细列表
     * 
     * @param rentBillamountdetail 房租缴费汇总明细
     * @return 房租缴费汇总明细集合
     */
    public List<RentBillamountdetail> selectRentBillamountdetailList(RentBillamountdetail rentBillamountdetail);

    /**
     * 新增房租缴费汇总明细
     * 
     * @param rentBillamountdetail 房租缴费汇总明细
     * @return 结果
     */
    public int insertRentBillamountdetail(RentBillamountdetail rentBillamountdetail);

    /**
     * 修改房租缴费汇总明细
     * 
     * @param rentBillamountdetail 房租缴费汇总明细
     * @return 结果
     */
    public int updateRentBillamountdetail(RentBillamountdetail rentBillamountdetail);

    /**
     * 删除房租缴费汇总明细
     * 
     * @param billamountdetailId 房租缴费汇总明细主键
     * @return 结果
     */
    public int deleteRentBillamountdetail(@Param("startDate") String startDate, @Param("endDate") String endDate);

    /**
     * 批量删除房租缴费汇总明细
     * 
     * @param billamountdetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRentBillamountdetailByBillamountdetailIds(String[] billamountdetailIds);

    public void batchRentBillamountdetail(List<RentBillamountdetail> list);

}
